package com.example.springboot.exception;

/**
 * @Author:Domen
 * @Date:2023/11/14 19:14
 */

public class ServiceException extends RuntimeException{
    private String code;
    public ServiceException(String message) {
        super(message);
    }

    public ServiceException(String message,String code) {
        super(message);
       this.code = code;
    }
}
